package com.biz.model.Hmodel.basic;// default package

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * TGrade entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="base_grade")

public class TGrade  implements java.io.Serializable {


    // Fields    

     private String id;
     private Integer integral;
     private Integer grade;
     private String gradeName;
     private String remarks;
     private Short isdel;
     private String createTime;


    // Constructors

    /** default constructor */
    public TGrade() {
    }

    
    /** full constructor */
    public TGrade(Integer integral, Integer grade, String gradeName, String remarks, Short isdel, String createTime) {
        this.integral = integral;
        this.grade = grade;
        this.gradeName = gradeName;
        this.remarks = remarks;
        this.isdel = isdel;
        this.createTime = createTime;
    }

    @GenericGenerator(name="generator", strategy="uuid.hex")@Id @GeneratedValue(generator="generator")

    @Column(name="id", unique=true, nullable=false, length=50)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="integral")

    public Integer getIntegral() {
        return this.integral;
    }
    
    public void setIntegral(Integer integral) {
        this.integral = integral;
    }
    
    @Column(name="grade")

    public Integer getGrade() {
        return this.grade;
    }
    
    public void setGrade(Integer grade) {
        this.grade = grade;
    }
    
    @Column(name="gradeName")

    public String getGradeName() {
        return this.gradeName;
    }
    
    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }
    
    @Column(name="remarks", length=500)

    public String getRemarks() {
        return this.remarks;
    }
    
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
    
    @Column(name="isdel")

    public Short getIsdel() {
        return this.isdel;
    }
    
    public void setIsdel(Short isdel) {
        this.isdel = isdel;
    }
    
    @Column(name="createTime", length=19)

    public String getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
   








}